package yana.tpe.shop.domain.domains;

import java.io.Serializable;


public class Seller extends AbstractNamedDomain implements Serializable {

    private String secondName;

    public Seller() {
    }

    public Seller(Long id, String name, String secondName) {
        this.id = id;
        this.secondName = secondName;
        this.name = name;
    }

    public String getSecondName() {
        return secondName;
    }

    public void setSecondName(String secondName) {
        this.secondName = secondName;
    }

    @Override
    public String toString() {
        return "Seller{" + "secondName=" + secondName + "; name=" + name + '}';
    }
    
    
}
